package com.tjetc.mapper;

import com.tjetc.domain.Order;
import com.tjetc.domain.OrderApproval;
import com.tjetc.domain.OrderSettlement;

import java.util.List;

public interface OrderSettlementMapper {
    int deleteByPrimaryKey(Integer settlementId);

    int insert(OrderSettlement record);

    OrderSettlement selectByPrimaryKey(Integer settlementId);

    int updateByPrimaryKey(OrderSettlement record);


    OrderSettlement findByOrderId(String orderId);

    List<OrderSettlement> list(Integer customerId);

    OrderSettlement findByOrderIdLink(String orderId);
}